﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for Topic_BU
/// </summary>
public class Topic_BU
{
    Topic_DAL tp_DAL = new Topic_DAL();

    public DataTable Get_All_Topic_BU() {
        return tp_DAL.Get_All_Topic_DAL();
    }

    public DataTable getALLTopic() {
        return tp_DAL.getALLTopic();
    }

    public int deleteTopic(int topic_id) {
        return tp_DAL.deleteTopic(topic_id);
    }

    public DataTable getTopicByID(int id) {
        return tp_DAL.getTopicByID(id);
    }

    public int Update_Topic(int topic_id,string topic_name,string topic_des) {
        return tp_DAL.Update_Topic(topic_id, topic_name, topic_des);
    }
}